﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorkTime.Logical
{
    /// <summary>
    /// 员工工时卡对应到具体某一天的工时
    /// </summary>
    public class DailyTimeCard
    {

        private string empId;
        private DateTime date;
        private int regularHours;
        private int extendHours;
        private bool workingDayFlag;

        /// <summary>
        /// 员工id
        /// </summary>
        public string EmpId
        {
            get { return empId; }
            set { empId = value; }
        }


        /// <summary>
        /// 日期
        /// </summary>
        public DateTime Date
        {
            get { return date; }
            set { date = value; }
        }


        /// <summary>
        /// 正常工时填报时间
        /// </summary>
        public int RegularHours
        {
            get { return regularHours; }
            set { regularHours = value; }
        }


        /// <summary>
        /// 加班工时填报时间
        /// </summary>
        public int ExtendHours
        {
            get { return extendHours; }
            set { extendHours = value; }
        }

        /// <summary>
        /// 工作日标记
        /// </summary>
        public bool WorkingDayFlag
        {
            get { return workingDayFlag; }
            set { workingDayFlag = value; }
        }
    }
}
